package com.fulihui.common.enums;

/**
 * 微信推送消息类型
 *
 * @author: Levon
 * @version: v 0.1 2017-06-30 17:57
 */
public enum MsgTypeEnum implements BaseEnum {
    /**
     *
     */
    text("text", "文本"),
    image("image", "图片"),
    voice("voice", "语音"),
    video("video", "视频"),
    shortvideo("shortvideo", "短视频"),
    location("location", "地理位置"),
    link("link", "链接"),
    event("event", "事件");


    private String code;
    private String desc;

    MsgTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
